package com.itheima.springbootcondition.condition;


import org.springframework.context.annotation.Conditional;

import java.lang.annotation.*;


@Target({ElementType.TYPE, ElementType.METHOD})//注解可以加在类,方法上
@Retention(RetentionPolicy.RUNTIME)//生效时机
@Documented//生成java中DOC的文档
@Conditional(ClassCondition.class)
public @interface ConditionOnClass {
    String[] value();
}
